﻿@*@model KimPhongCRM.Models.tblKhachHang
@Html.DevExpress().PopupControl(
settings =>
{
    settings.Name = "pcKhachHang";
    settings.PopupElementID = "popXemKhachHang";
    settings.Width = 200;
    settings.Height = 120;
    settings.PopupHorizontalAlign = PopupHorizontalAlign.Center;
    settings.PopupVerticalAlign = PopupVerticalAlign.Middle;
    settings.FooterText = "Thông tin";
    settings.HeaderText = "CHI TIET KHACH HANG";
    settings.Styles.Header.ForeColor = System.Drawing.Color.Blue; ;
    settings.Styles.Header.Font.Bold = true;
    settings.SetContent(
                    Html.Partial("PopupDetails", Model).ToHtmlString()
        );

    settings.ClientSideEvents.CloseUp = "function(s, e) { SetImageState(false); }";
    settings.ClientSideEvents.PopUp = "function(s, e) { SetImageState(true); }";
}).GetHtml()*@